package com.dmlll.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dmlll.VO.HospitalPurchaseInputVO;
import com.dmlll.VO.PurchaseDrugDetailVO;
import com.dmlll.domain.DrugMessage;
import com.dmlll.domain.HospitalPurchaseInput;
import com.dmlll.domain.Purchase;
import com.dmlll.domain.PurchaseDrupDetail;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 采购单药品明细 服务类
 * </p>
 *
 * @author dmLll
 * @since 2021-03-31
 */
public interface PurchaseDrupDetailService extends IService<PurchaseDrupDetail> {

    List<PurchaseDrupDetail> getDetailAndDrug(Integer purchaseId);

    IPage<PurchaseDrupDetail> getAvaPurchaseDrupDetail(IPage<PurchaseDrupDetail> iPage,PurchaseDrupDetail purchaseDrupDetail, Purchase purchase, DrugMessage drugMessage, Integer providerId, HospitalPurchaseInputVO input);
}
